
asm02.o:     file format elf32-littlearm


Disassembly of section .text:

00000000 <main>:
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

void main()
{
   0:	e92d4800 	push	{fp, lr}
   4:	e28db004 	add	fp, sp, #4
   8:	e24dd010 	sub	sp, sp, #16
	int a, b, c;

	a = 1;
   c:	e3a03001 	mov	r3, #1
  10:	e50b3008 	str	r3, [fp, #-8]
	b = 1;
  14:	e3a03001 	mov	r3, #1
  18:	e50b300c 	str	r3, [fp, #-12]
	c = a + b;
  1c:	e51b2008 	ldr	r2, [fp, #-8]
  20:	e51b300c 	ldr	r3, [fp, #-12]
  24:	e0823003 	add	r3, r2, r3
  28:	e50b3010 	str	r3, [fp, #-16]
	
	printf("%d\n", c);
  2c:	e51b3010 	ldr	r3, [fp, #-16]
  30:	e1a01003 	mov	r1, r3
  34:	e59f001c 	ldr	r0, [pc, #28]	; 58 <main+0x58>
  38:	ebfffffe 	bl	0 <printf>
	write(1, &c, 1);
  3c:	e24b3010 	sub	r3, fp, #16
  40:	e3a02001 	mov	r2, #1
  44:	e1a01003 	mov	r1, r3
  48:	e3a00001 	mov	r0, #1
  4c:	ebfffffe 	bl	0 <write>
}
  50:	e24bd004 	sub	sp, fp, #4
  54:	e8bd8800 	pop	{fp, pc}
  58:	00000000 	.word	0x00000000
